package org.rency.ues.dal.repository;

import java.util.List;

import org.rency.ues.dal.entity.CertificationDO;

public interface CertificationRepository {

	public List<CertificationDO> loadAll();
	
	public CertificationDO get(int id);
	
	public CertificationDO getBySerialNo(int serialNo);
	
	public boolean save(CertificationDO entity);
	
	public boolean delete(int id);
	
	public boolean updateVersion(int id, long newVersion, long oldVersion);
	
}